<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="renderer" content="webkit" />
    <link href="Content/css/index.css?v=20200526" rel="stylesheet" />
    <script src="Scripts/jquery-2.1.4.min.js"></script>
    <script src="Scripts/validation.js?dt=20200520"></script>
    <link href="Scripts/layer/theme/default/layer.css" rel="stylesheet" />
    <script src="Scripts/layer/layer.js"></script>
    <title>重庆师范大学-疫情防控管理平台</title>
    <script type="text/javascript">
        /*解决苹果返回不刷新问题*/
        $(function () {
            var isPageHide = false;
            window.addEventListener('pageshow', function () {
                if (isPageHide) {
                    window.location.reload();
                }
            });
            window.addEventListener('pagehide', function () {
                isPageHide = true;
            });
        });
    </script>
</head>
<body>
    

<link href="Content/css/ChooseSys.css?v=202002281846" rel="stylesheet" />
<script>
    //是否有多个返校批次
    var isBackConfigHaveProvince = false;
    $(function () {
        var length = $(".choose_box>div").length;
        var w_w = $(window).width();
        if (length == 2 && w_w > 980) {
            $(".choose_box").width(800);
        }
    })
</script>
<div class="choose_box">
        <div id="platfrom2" class="plat">
            <a class="" href="6.html">
                <div class="plat-title">
                    学生健康情况填报<br />
                    <span>开启中</span>
                </div>
                    <img src="Content/img/plat2.png" />
            </a>
        </div>
                <div id="platfrom3_1" class="plat platfrom3" data-reg-status="7">
                <a class="" href="6.html">
                    <div class="plat-title">
                        返校申请<br />
                        <span>申请中</span>
                    </div>
                        <img src="Content/img/plat3.png" />
                </a>
            </div>
            <div id="allmap" class="hide"></div>
            <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=Wh4HAAtaSKPMYpyyOqpxR04BwyTsc5SP"></script>
            <script src="Scripts/GetLocation.js?dt=20200513"></script>
            <script type="text/javascript">
                isBackConfigHaveProvince = true;
                GetLocation("allmap");
                var configArea = "110000|120000|130000|140000|150000|210000|220000|230000|310000|320000|330000|340000|350000|360000|370000|410000|420000|430000|440000|450000|460000|500000|510000|520000|530000|540000|610000|620000|630000|640000|650000|710000|810000|820000";
                function LocationCallBack(data) {
                    var arrPlatForm = new Array();
                    var code = data.result.addressComponent.adcode.substring(0, 2) + '0000';
                    var proArr = configArea.split('-');
                    for (var i = 0; i < proArr.length; i++) {
                        var dvId = "#platfrom3_" + (i + 1);
                        if (configArea.indexOf(code) < 0) {
                            $(dvId).remove();
                        }
                    }
                    HandleBackDvStatus();
                }
            </script>
        <script type="text/javascript">
            //没有省份限制
            if (isBackConfigHaveProvince == false) {
                HandleBackDvStatus();
            }
            //处理返校div显示状态
            function HandleBackDvStatus() {
                var elm = $(".platfrom3");
                //显示处理
                if (elm.length == 1) {//如果只有一个直接显示
                    $(elm[0]).show();
                }
                else {
                    var dvShowFlag = false;
                    //优先显示已经申请通过的
                    for (var i = 0; i < elm.length; i++) {
                        if ($(elm[i]).attr("data-reg-status") != "") {
                            $(elm[i]).show();
                            dvShowFlag = true;
                        }
                        else {
                            $(elm[i]).hide();
                        }
                    }
                    //如果没有审核通过的 但是还有下一个批次 直接显示最后一个
                    if (dvShowFlag == false) {
                        $(elm[elm.length - 1]).show();
                    }
                }
            }
        </script>
            <div id="platfrom4" class="plat">
            <a href="6.html">
                <div class="plat-title">
                    行程登记<br />
                    <span>登记中</span>
                </div>
                <img src="Content/img/plat3.png" />
            </a>
        </div>
                <div id="platfrom1" class="plat">
                <a class="" href="6.html">
                    <div class="plat-title">
                        体温监测管理<br />
                        <span>登记中</span>

                    </div>
                        <img src="Content/img/plat1.png" />
                </a>
            </div>

                <div id="platfrom4" class="plat">
                <a href="6.html">
                    <div class="plat-title">
                        学生日常请假<br />
                        <span>申请中</span>
                    </div>
                    <img src="Content/img/plat5.png" />
                </a>
            </div>
</div>
        <link href="Content/css/menustyle.css?dt=20200429" rel="stylesheet" />
        <script src="Scripts/menu.js"></script>
        <div id="cd-nav" class="is-fixed">
            <a href="javascript:void(0)" class="cd-nav-trigger"><span></span></a>
            <nav id="cd-main-nav">
                <ul>
                        <li>
                            <a href="Account/ChooseSys">
                                <img src="Content/img/icon1.png" /> 返回首页
                            </a>
                        </li>
                                        <li>
                        <a href="Account/Logout">
                            <img src="Content/img/icon3.png" /> 安全退出
                        </a>
                    </li>
                </ul>
            </nav>
        </div>
</body>
</html>
<!--第二版-->